package model.cardData;

import java.util.ArrayList;
import java.util.Arrays;



public class CardParameters {
	
	public static ArrayList<CardRule> rules = new ArrayList<CardRule>(Arrays.asList(
			CardRule.RESTART,CardRule.INVISIBLE,CardRule.NOSP,CardRule.NOSP,CardRule.NOSP,CardRule.SKIP,
			CardRule.NOSP,CardRule.UNDER,CardRule.NOSP,CardRule.NOSP,CardRule.NOSP,CardRule.NOSP,CardRule.NOSP));
	
	
	public static CardRule requestDamnRule(CardValue cv) {
		return rules.get(cv.ordinal()) ;
	}
	
	
	private CardParameters() {
		//underCards = new ArrayList<CardValue>(Arrays.asList(CardValue.NINE));
	}
	
	public static boolean is(CardRule cr, CardValue cv) {
		return (rules.get(cv.ordinal()) == cr);
	}
	
}
